package com.baishancloud.log.common.entity

import scala.beans.BeanProperty

/**
 * 维表（国家）数据对象
 *
 * @param id   id
 * @param code 英文释义
 * @author ziqiang.wang 
 * @date 2022/2/16 14:05
 */
case class CountryEntity(
                          @BeanProperty var id: Int,
                          @BeanProperty var code: String
                        ) extends Serializable

object CountryEntity extends Serializable {
  def apply(): CountryEntity = new CountryEntity(0, "")

  /**
   * 国家数据默认对象
   */
  val DEFAULT = new CountryEntity(153, "OOT")
}